/**  首页样式
 * @desc:
 * @author zhangqiang
 * @date 2022/1/14
*/
body {
    //min-width: 1366px;
    //font-size: 14px;
    font-family: Microsoft YaHei;
    //max-height: 1080px;
    overflow-y: hidden;
    color:  $--color-text-color;
}

.homePage {
    width: 100%;
    height: 100%;
}

.page-container {

}

.page-content {

}

.content-shadow {
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

// 页面 card 样式
.globalDiv {
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    background-color: $--color-form-bg;
}

.componentBg {
    background: $--color-switchMenuIcon-bg;
}

/* 顶部样式 */
.topBox {
    display: flex;
    width: 100%;
    height: 80px;
    min-height: 80px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background:url("../../common/img/header.jpg");
    background-size: cover;
}

.topLeft {
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #fff;
    letter-spacing: 1px;
    font-weight: 500;
}

.toggle-btn {
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: $--color-switchMenuIcon-bg;
    cursor: pointer;

    .toggle-text {
        color: $--color-header-color;

        &:hover {
            color: $--color-headerHover-color;
        }
    }
}

.topLeft > .logo {
    width: 120px;
    //height: 64px;
    margin-left: 45px;
    margin-right: 65px;
    //margin: 0 23px;
}
.topLeft .projectNamePic{
    width: 190px;
}

.topRight {
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 16px;
    //color: $--color-header-color;
    font-weight: 400;
    padding-right: 32px;
}
.topRight .iconList{
    height: 100%;
}
.topRight .iconList li{
    float: left;
    width: 77px;
    height: 100%;
    text-align: center;
    //border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    &.en{
        width: 150px;
    }
    .userInfo{
        box-sizing: border-box;
    }
    .userInfo:before{
        content: "";
        display: block;
        background:  #E5E5E5;
        width: 1px;
        height: 23px;
        position: absolute;
        left: 0px;
        top: 30px;
        z-index: 2;
    }
}
.topRight .iconList li.active,.topRight .iconList li:hover:not(.gj){
    cursor: pointer;
    background: linear-gradient(180deg, rgba(13, 107, 189, 1) 0%, rgba(5, 23, 69, 0.41) 99.94%);
}
.topRight .iconList li .gjView .gjIcon{
    display: inline-block;
    width: 12px;
    height: 12px;
    //border: 1px solid green;
}
.topRight .iconList li .gjView .gjIcon:hover{
    cursor: pointer;
    opacity: 0.8;
}
.topRight .iconList li .gjView .gjIcon:active{
    opacity: 0.7;
}
.topRight .iconList li .gjView .zxh,.topRight .iconList li .gjView .zdh{
    margin-right: 12px;
}
.topRight .iconList li .iconImg{
    width: 33px;
    height: 33px;
}
//.topRight .iconList li .iconImg.yh{
//    width: 33px;
//    height: 33px;
//}
.topRight .iconList li .iconImg.tx{
    width: 26px;
    height: 26px;
    margin-top: 2px;
    margin-bottom: 6px;
}
.topRight .iconList li .title{
    //margin-top: 1px;
    font-size: 12px;
    color: rgba(255, 255, 255, 1);
}
/* 定义最右侧三个图标样式，当换肤时修改图标 */
.head-right-icon {
    margin-left: 32px;
    cursor: pointer;
    font-size: 24px;
    color: $--color-header-color;
    line-height: 0.24rem;

    &:hover {
        color: $--color-headerHover-color;
    }
}

/* 换肤选项样式 */
.el-dropdown-menu {
    border-color: $--color-timePicker-bg;
    background: $--color-timePicker-bg;
}

.el-dropdown-menu .popper__arrow::after {
    border-bottom-color: $--color-timePicker-bg !important;
}

.el-dropdown-menu__item {
    padding: 0 25px;
    color: $--color-dropMenu-bg;
}
.el-dropdown-menu__item.is-disabled{
    color: $--color-disabledBtn-color;
    cursor: not-allowed;
    pointer-events: none
}
.fg,
.el-dropdown-menu__item:hover {
    background: $--color-selectHover-bg !important;
    color: $--color-dropMenuHover-color !important;
}

/* 下方主题区域 */
.contentBox {
    display: flex;
    width: 100%;
    height: calc(100% - 50px);
    max-height: calc(100% - 50PX);
    background: #e6eaf5;
    //background: url(../img/page_bg.png);
    //background-size: 100% 100%;
}
.conMenu {
    height: 100%;
}
.conRight {
    flex: 1;
    height: 100%;
    overflow-x: hidden;
}
.box-content0 {
    .conMenu {
        width: 0;
    }
    .conRight {
        margin-left: 0;
    }
}
.box-content1 {
    .conMenu {
        width: 60px;
    }
    .fa {
        margin-left: 20px;
    }
    .conRight {
        margin-left: 60px;
    }
}

/*.conMenu {
    height: 100%;
    background: $--color-leftMenu-bg;
}

.conRight {
    flex: 1;
    height: 100%;
    overflow-x: hidden;
}*/

//title 统一 样式
.global-title-box {
    color: $--color-text-color;
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    font-weight: 700;
}

// 小标题样式
.mini-title-box {
    height: 20px;
    line-height: 20px;
    font-size: 16px;
    padding-left: 10px;
    margin-bottom: 20px;
    border-left: 6px solid $--color-headerHover-color;
    color: $--color-text-color;
    font-weight: 700;
}

.hideMenu {
    .conMenu {
        transform: translateX(-220px);
    }

    .conRight {
        width: 100% !important;
    }

    .conRight1 {
        width: 100% !important;
    }
}

/* 下方溢出滚动条 */
.tab-content {
    width: 100%;
    height: calc(100% - 56px);
    overflow-y: auto;
    padding: 0 16px 16px 16px;
}

/*首页主题*/
.theme-content {
    margin: 10px;
}

.theme-color-box {
    width: 33px;
    height: 27px;
    display: block;
    border-radius: 3px;
}

.theme-color {
    width: 25px;
    height: 18px;
    display: block;
    cursor: pointer;
    margin-top: 3px;
    margin-left: 3px;
    border-radius: 3px;
}


/*右侧菜单弹窗框*/
/*首页右边栏样式*/

.el-drawer {
    background-color: rgba(5, 18, 50, .8);
}

.el-drawer__body {
    height: 100%;
}

.el-dialog__wrapper .el-drawer__body {
    //background-color: rgba(5, 18, 50, .9);
}

.mydrawer .el-drawer__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

/*一级菜单*/
.firstmenu {
    height: 74px;
    line-height: 74px;
    font-size: 25px;
    text-indent: 38px;
    position: relative;

    &:hover {
        .secondmenu {
            display: block;
        }
    }

    a {
        width: 100%;
        height: 100%;
        display: block;
        text-decoration: none;

        &.active-link,
        &:hover {
            background-color: #0d1f48;
            color: #a3d6f3;
        }
    }

    .item-icon {
        padding-right: 30px;
    }

    .secondmenu {
        display: none
    }
}

.container-title {
    font-size: 16px;
    color: #00adfe;
    // margin-bottom: 10px;
    font-weight: bold;
}

/*二级菜单*/
.secondmenu {
    position: absolute;
    left: -271px;
    top: 0;
    text-align: center;
    width: 270px;
    background: #0d1f48;

    li {
        list-style: none;
        border-bottom: 1px solid #34577f;

        &:last-child {
            border: 0;
        }
    }
}

.item-icon {
    width: 40px;
    height: 40px;
    margin-top: 20px;
    margin-left: 40px;
}

/*左侧模块样式*/
.mk {
    height: 100%;
}

.autoheight {
    height: calc(100% - 40px);
}

.mk_main {
    padding: 7px;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
}

.mk_menu {
    font-size: 20px;

    .mk_menu_child {
        display: block;
        cursor: pointer;
    }
}

.el-tabs__item {
    font-size: 16px;
    // font-weight: 700;
    color: #727b8f;
}

.el-tabs__active-bar {
    height: 2px;

    background-color: $--color-primaryBtn-bg;
}

.el-tabs__nav-wrap::after {
    height: 1px;
    background-color: $--color-inputDisabled-bg;
}

.el-tabs__item.is-active {
    color: $--color-primaryBtn-bg;
}

.el-tabs__item {
    &:hover {
        color: $--color-primaryBtn-bg;
    }

}

// 针对flex 布局的一些处理
.flex-class {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.justify-content {
    justify-content: center !important;
}

.flex-item {
    flex: 1;
    height: 100%;
}

.flex-seize {
    width: 20px !important;
}

.el-loading-mask {
    background-color: $--color-defaultBtnHover-bg;
}

/* 对于echarts的title */
.echarts-item {
    padding: 0 30px 20px 30px;
    height: 480px;
}
.content-title-box {
    height: 64px;
    display: flex;
    align-items: center;
    color: $--color-text-color;
    font-weight: 400;
    font-size: 24px;
    .echarts-title-border {
        width: 8px;
        height: 24px;
        background: $--color-primaryBtn-bg;
        margin-right: 16px;
    }
}

/* 对于form表单的的title */
.form-title-col {
    border-left: 8px solid $--color-primaryBtn-bg;
    padding-left: 16px;
    line-height: 1;
    font-weight: bold;
    margin-bottom: 16px;
    font-size: 16px;
}

//  页面分为多栏的title
.crumbs-title {
    color: $--color-routerTag-color;
    font-size: 16px;
}
